import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import sh from '@/components/sh'
import py from '@/components/py'
import zq from '@/components/zq'
import my from '@/components/my'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/sh',
      name: 'sh',
      component: sh
    },
    {
      path: '/py',
      name: 'py',
      component: py
    },
    {
      path: '/zq',
      name: 'zq',
      component: zq
    },
    {
      path: '/my',
      name: 'my',
      component: my
    },
    {
      path: '/hello',
      name: 'Hello',
      component: HelloWorld
    }
  ]
})
